package com.ruoyi.stock.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 今日涨停个股对象 stock_top_board
 *
 * @author ruoyi
 * @date 2025-07-12
 */
@Data
public class StockTopBoard extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    private Long id;

    /**
     * 股票编码
     */
    @Excel(name = "股票代码")
    private String stCode;

    /**
     * 股票名称
     */
    @Excel(name = "股票简称")
    private String stName;

    /**
     * 现价
     */
    @Excel(name = "现价")
    private BigDecimal curPrice;

    /**
     * 涨跌幅(%)
     */
    @Excel(name = "涨跌幅(%)")
    private String increase;

    /**
     * 行业
     */
    @Excel(name = "所属行业")
    private String industry;

    /**
     * 时间周期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stDate;

    /**
     * 封单金额
     */
    @Excel(name = "封单金额")
    private String topMoney;

    /**
     * 首次涨停时间
     */

    @Excel(name = "首次涨停时间")
    private String frTime;

    /**
     * 最近涨停时间
     */
    @Excel(name = "最近涨停时间")
    private String laTime;

    /**
     * 短线主题名称
     */
    @Excel(name = "短线主题名称")
    private String shortTerm;

    /**
     * 连续涨停天数
     */
    @Excel(name = "连续涨停天数")
    private Long topNum;

    /**
     * 几天
     */
    @Excel(name = "几天")
    private String fewDay;

    /**
     * 几板
     */
    @Excel(name = "几板")
    private String fewBoard;

    /**
     * 版型
     */
    @Excel(name = "板型")
    private String boardType;

    /**
     * 涨停成交额
     */
    @Excel(name = "涨停成交额(万)")
    private String topDealNum;

    /**
     * 涨停最大封单额
     */
    @Excel(name = "涨停最大封单额(万)")
    private String topMaxNum;

    /**
     * 封成比
     */
    @Excel(name = "封成比")
    private String dealCompare;

    /** 涨停打开次数 */
    @Excel(name = "涨停打开次数")
    private Long openNum;

    /**
     * 封单量
     */
    @Excel(name = "封单量")
    private String topNowNum;

    /**
     * 原因
     */
    @Excel(name = "原因揭秘")
    private String termReason;

}
